package com.demo.bo;

import java.io.Serializable;

import com.outstanding.framework.base.db.BaseEnum;

public enum DemoEnum implements BaseEnum<Integer>{
	
	
	Null(10),NotNull(11),
	;

	private Integer val;

	private DemoEnum(Integer i) {
		this.val=i;
	}
	@Override
	public Integer getValue() {
		
		return this.val;
	}

	@Override
	public String getMessage() {
		
		return this.name();
	}

}
